package pl.kosmowska.ewelina.client.views;

import java.util.Date;
import java.util.List;

import pl.kosmowska.ewelina.client.app.requestfactory.dto.StockDataProxy;

import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;

public interface StockEditView extends IsWidget {

	interface Presenter {
		void goTo(Place place);

		void getAllStockNames();

		void saveStockData(String name, float value, int stockNumber, Date startDate);

		void goToStockPlace();
	}

	void setPresenter(Presenter presenter);


	void setData(StockDataProxy StockData);

	void fillStockNameList(List<String> stockList);

	void showMessage(String string);


	void reInitView();


	boolean isAlreadyInit();


	void setAlreadyInit(boolean alreadyInit);

}
